import request from '@/utils/request'

// 查询定时任务调度列表
export function actPatList(query) {
    return request({
        url: '/hospital/ActPatList/list',
        method: 'get',
        params: query
    })
}

export function addActPatList(query) {
    return request({
        url: '/hospital/ActPatList/add',
        method: 'get',
        params: query
    })
}

export function updateActPatList(query) {
    return request({
        url: '/hospital/ActPatList/update',
        method: 'get',
        params: query
    })
}

export function MrInData(query) {
    return request({
        url: '/hospital/xml/MrInData',
        method: 'get',
        params: query
    })
}
export function getMrInLab(fileName) {
    return request({
        url: '/hospital/xml/MrInLab',
        method: 'get',
        params: {fileName}
    })
}

export function getMrInspection(fileName) {
    return request({
        url: '/hospital/xml/MrInspection',
        method: 'get',
        params: {fileName}
    })
}

export function updatexml(query) {
    return request({
        url: '/hospital/xml/update',
        method: 'get',
        params: query
    })
}

export function handleUpdateData1(query) {
    return request({
        url: '/hospital/xml/updateMrInData',
        method: 'get',
        params: query
    })
}
export function handleUpdateLab1(query) {
    return request({
        url: '/hospital/xml/updateMrInLab',
        method: 'get',
        params: query
    })
}

export function handleUpdateInspection1(query) {
    return request({
        url: '/hospital/xml/updateMrInspection',
        method: 'get',
        params: query
    })
}

export function getPostLog(query) {
    return request({
        url: '/hospital/ActPatList/getPostLog',
        method: 'get',
        params: query
    })
}

